{if $ads}
    <div class="marquee-container">
        <div class="marquee-content {if count($ads)==1} marquee-content-none {/if}">
            {foreach name="ads" item="vo"}
                <div class="marquee-item"><a href="{$vo.url|htmlentities}" {if $vo['target']=='blank'} target="_blank" {/if}>{$vo.name|htmlentities}</a></div>
            {/foreach}
        </div>
    </div>
{/if}
